package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

/**
 * @ClassName racenexus
 * @Author jingtao-zheng
 * @Date 2022/8/9 14:43
 * @Version 1.0
 **/
@DataType
public class racenexus implements DataClass {
    public int id;
    public int field;
    public int level;
    public int attack;
    public int pdefense;
    public int lifescale;
    public int costtype;
    public int costid;
    public int costnum;

    public int getId() {
        return id;
    }

    public int getField() {
        return field;
    }

    public int getLevel() {
        return level;
    }

    public int getAttack() {
        return attack;
    }

    public int getPdefense() {
        return pdefense;
    }

    public int getLifescale() {
        return lifescale;
    }

    public int getCosttype() {
        return costtype;
    }

    public int getCostid() {
        return costid;
    }

    public int getCostnum() {
        return costnum;
    }

    @Override
    public String getCode(){
        return String.valueOf(getId());
    }
}
